package com.packet.service;

import com.packet.config.CustomizedConfiguration;
import com.packet.pojo.Customs;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;

import java.util.List;

/**
 * @className:GetFromStaff
 * @Author:wallet_packet Date:2023-12-11 18:33
 * @Describe:
 */
@FeignClient(value = "SPRINGCLOUD-STAFF",configuration = CustomizedConfiguration.class)
@Service
public interface GetFromStaffService {
    @RequestMapping("/tofinanceAndManager/{bid}")
    public List<Customs> getCustoms(@PathVariable("bid") Integer bid);

}
